Skip to content

添加一种新的 frontmatter 格式#466

Merged
zkitefly merged 1 commit into
HMCL-dev:mainfrom
neveler:front-matter-enhancer
Jun 7, 2026
Merged

添加一种新的 frontmatter 格式#466
zkitefly merged 1 commit into
HMCL-dev:mainfrom
neveler:front-matter-enhancer

Conversation

@neveler
Copy link
Copy Markdown
Contributor

@neveler neveler commented Jun 4, 2026

此 frontmatter 写法基于 /**/ 因此支持 /**/ 多行注释的文件会自动将 frontmatter 识别为注释,从而减少对代码编辑器自动补全的干扰。

文件需以 /* @frontmatter 开头,到 */ 之前的内容将作为 YAML 字符串解析。

/* @frontmatter
*/
/* @frontmatter
layout: null
var_a: demo
*/

https://front-matter-enhancer-docs.hmcl.workers.dev

@neveler neveler changed the title 添加一种新的 @frontmatter 格式 添加一种新的 frontmatter 格式 Jun 4, 2026
@zkitefly
Copy link
Copy Markdown
Member

zkitefly commented Jun 5, 2026

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@zkitefly zkitefly merged commit 8898bb5 into HMCL-dev:main Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants